home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 9 / The PC-SIG Library on CD ROM - Ninth Edition.iso / 1301_400 / DISK1309 / DISK1309.ZIP / TWODISK.BAT < prev   
DOS Batch File  |  1989-01-17  |  3KB  |  80 lines

  1. echo off
  2. cls
  3. echo       
  4. echo      
  5. echo    This program will install ROSEWOOD JOURNAL on a computer with
  6. echo    two floppy drives. You will need 1 disk formatted with system
  7. echo    and another formatted without system. The first disk (with
  8. echo    system) should have a "CONFIG.SYS" file with the lines, 
  9. echo    "FILES=15" and "BUFFERS=12". If you do not usually use a config-
  10. echo    uration file, this program will supply one automatically for you.
  11. echo    If you supply your own "CONFIG.SYS" this program will not overwrite
  12. echo    it. If you do not supply your own AUTOEXEC.BAT file this program will
  13. echo    so that ROSEWOOD JOURNAL will be self-booting. The disk containing
  14. echo    the program and files for ROSEWOOD JOURNAL must be in drive "A" and
  15. echo    the blank disk formatted with system must be in drive B. If not,
  16. echo    press CTRL+BRK now and re-run this program.
  17. echo     
  18. echo     
  19. pause
  20. cls
  21. echo     
  22. echo     
  23. echo                  ********** WORKING **********
  24. if exist B:COMMAND.COM goto commok
  25. cls
  26. echo        
  27. echo           
  28. echo      
  29. echo    Disk in drive B is not formatted with system. At the "A" prompt
  30. echo    put your boot disk in drive A, a blank disk in drive B and type,
  31. echo    FORMAT B:/S. Then re-run this program.
  32. goto end
  33. :commok
  34. cls
  35. echo     
  36. echo            ********** WORKING **********
  37. if exist B:AUTOEXEC.BAT goto autok
  38. copy a:autoexec.fil b:autoexec.bat
  39. :autok
  40. echo         
  41. if exist B:CONFIG.SYS goto confok
  42. copy a:config.fil b:config.sys
  43. goto resconf
  44. :confok
  45. cls
  46. echo              ********** WORKING **********
  47. type b:config.sys
  48. echo        
  49. echo      
  50. echo    If the above listing does not contain "FILE=15" or more and 
  51. echo    "BUFFERS=12" or more then press CTRL+BRK now and correct the
  52. echo    file before re-running this program.
  53. echo       
  54. echo      
  55. pause
  56. :resconf
  57. cls
  58. echo                       ********* WORKING **********    
  59. echo       
  60. echo       
  61. copy a:initial.two b:initial.dta
  62. copy a:journal.exe b:
  63. cls
  64. echo     
  65. echo       
  66. echo    INSTALLATION COMPLETE. Place the disk now in drive B into drive A
  67. echo    and a blank formatted disk in drive B. Reboot your computer using
  68. echo    CTRL+ALT+DEL. At the "A" prompt type JOURNAL and press ENTER.
  69. echo    After you have answered the questions about your company (do not
  70. echo    change the lines concerning program drive or data drive), then
  71. echo    ROSEWOOD JOURNAL is ready to be used.
  72. echo               
  73. echo    Please remember to put your original copy of ROSEWOOD JOURNAL in
  74. echo    a safe place.  Thank you.
  75. echo    
  76. echo    
  77. pause
  78. :end 
  79. echo on
  80. cls